@import "../global/reset.scss";
@import "../global/layout.scss";


.module {
  .module-side {
    .news-list {
      padding: 12px 10px 16px;

      li {
        line-height: 18px;
        font-size: 13px;
        margin-bottom: 11px;
        height: 18px;
        overflow: hidden;
      }
    }
  }

  >.header {
    position: relative;
    margin: 30px 0 0;
    padding-top: 10px;
    height: 44px;
    line-height: 44px;
    z-index: 1;

    &:before {
      position: absolute;
      left: 0;
      top: 0;
      padding: 0 3px;
      text-align: center;
      content: attr(data-title);
      width: auto;
      height: 45px;
      font-size: 12px;
      line-height: 22px;
      color: #fff;
      z-index: -1;
      background: linear-gradient(180deg, rgba(58, 120, 234, .5) 0%, rgba(255, 255, 255, 1) 100%);
    }

    h2 {
      padding-left: 14px;
      font-size: 28px;
      font-weight: 400;
    }
  }
}

.section-pictures-group {
  width: 430px;
  float: left;

  a {
    position: relative;
    display: block;
  }

  .caption {
    overflow: hidden;
  }

  .big-figure {
    a {
      height: 246px;
      overflow: hidden;
    }

    .figure {
      width: 430px;

      img {
        width: 100%;
      }
    }

    .caption {
      position: absolute;
      left: 0;
      bottom: 5px;
      width: 100%;
      height: 24px;
      font-size: 16px;
      color: #fff;
    }
  }

  .flex-figures {
    margin-top: 20px;

    a {
      float: left;
      width: 205px;
      overflow: hidden;
      font-size: 14px;

      .figure {
        margin-bottom: 2px;
        height: 117px;
        overflow: hidden;
      }

      img {
        max-width: 100%;
      }

      &:last-child {
        margin-left: 20px;
      }
    }
  }

}

.section-lists-group {
  float: right;
  padding-right: 20px;
  width: 410px;

  .news-list {
    padding: 20px 0 4px;
    border-top: 1px solid #DDDDDD;

    &:first-child {
      border: 0 none;
      padding-top: 0;
    }

    li {
      margin-bottom: 10px;
      font-size: 14px;
      line-height: 20px;
      height: 20px;
      &:first-child {
        font-size: 16px;
        line-height: 22px;

        &:before {
          background: #3A78EA;
        }
      }
    }
  }
}

.section-layout-b {
  padding-bottom: 1px;

  .figure {
    width: 430px;
    height: 246px;
    overflow: hidden;

    img {
      max-width: 100%;
    }
  }

  .caption {
    margin-top: 20px;
    height: 40px;
    padding: 0 10px;
    font-size: 18px;
    line-height: 22px;
  }

  .description {
    padding: 0 10px;
    margin-top: 10px;

    .date {
      color: #C0C0C0;
      overflow: hidden;

      .author {
        float: right;
      }
    }

    p {
      margin-top: 3px;
      font-size: 14px;
      line-height: 22px;
      color: #666;
      height: 88px;
      overflow: hidden;
    }
  }
}

.side-figure-news {
  position: relative;
  padding: 0 4px 5px 160px;
  height: 96px;

  .figure {
    position: absolute;
    left: 10px;
    top: 0;
    width: 140px;
    height: 96px;
    overflow: hidden;

    img {
      max-width: 100%;
      vertical-align: middle;
    }
  }

  .caption {
    display: block;
    color: #666;
    max-height: 90px;
    overflow: hidden;
  }
}
.home-box{
  .model {
    height: 501px;
    >.header {
      padding: 6px 5px 18px;
      h3{
        font-weight: 700;
      }
    }
  }
  .hot-model {
    height: 492px;

    >.header {
      padding: 7px 5px 12px;
    }
  }
}
